﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;

namespace FeedReader.Shared.Data
{
    public class ReadDataModel :TableServiceEntity
    {
        public ReadDataModel(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public ReadDataModel(): this(Guid.NewGuid().ToString(), String.Empty)
        {
        }
        /// <summary>
        ///  The Post ID of the read post
        /// </summary>
        public string PostID { get; set; }
        /// <summary>
        ///  The User ID of the user that read the post
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        ///  The Blob ID where the content of the post can be found.
        /// </summary>
        public string TheBlobID { get; set; }
    }
}
